package br.com.rapidrest.demo.service;

import java.util.List;

import br.com.rapidrest.demo.domain.PhoneBook;
import br.com.rapidrest.demo.domain.PhoneEntry;

public interface PhoneBookService {

	public void savePhoneBook(PhoneBook phoneBook);

	public void updatePhoneBook(PhoneBook phoneBook);

	public void removePhoneBook(Long phoneBookId) throws RemovalException;

	public List<PhoneBook> findPhoneBooks(String queryString);

	public PhoneBook findPhoneBook(Long phoneBookId);

	public List<PhoneBook> findPhoneBooks();

	public void updatePhoneEntry(PhoneEntry phoneEntry);

	public PhoneEntry findPhoneEntry(Long phoneEntryId);

}